package cn.lili.modules.goods.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.client.BrandClient;
import cn.lili.modules.goods.entity.dos.Brand;
import cn.lili.modules.goods.entity.vos.BrandVO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-14 10:41
 * @description: 商品品牌Fallback
 */
public class BrandFallback implements BrandClient {

    @Override
    public void deleteBrands(List<String> ids) {
        throw new ServiceException();
    }

    @Override
    public List<Brand> getBrandsByCategory(String categoryId) {
        throw new ServiceException();
    }

    @Override
    public boolean addBrand(BrandVO brandVO) {
        throw new ServiceException();
    }

    @Override
    public boolean updateBrand(BrandVO brandVO) {
        throw new ServiceException();
    }

    @Override
    public boolean brandDisable(String brandId, boolean disable) {
        throw new ServiceException();
    }

    @Override
    public Brand getById(String brandId) {
        throw new ServiceException();
    }
}
